﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LDSP.Helper
{
    public class CookieKeys
    {
        public static readonly string UserName = "name";
        public static readonly string Password = "password";

        public static readonly string AdminUserName = "admin_name";
        public static readonly string AdminPassword = "admin_password";
    }

    public class SessionKeys
    {
        public static readonly string ChoosenEnterpriseUser = "ChoosenEnterpriseUser";
        public static readonly string AutoLogin = "AutoLogin";
    }

    public class LongTextInstanceNames
    {
        public const string News = "News";
        public const string ChemicalCatalog = "Chemical";
        public const string AccidentCase_Summary = "AccidentCase_Summary";
        public const string AccidentCase_Result = "AccidentCase_Result";
        public const string AccidentCase_Reference = "AccidentCase_Reference";
        public const string Codification_KeyItems = "Codification_KeyItems";

    }

    public class ModuleName
    {
        static ModuleName()
        {
            ModuleDic.Add(CaseLib, "案例库");
            ModuleDic.Add(ChemicalMng, "化学品管理");
            ModuleDic.Add(Report, "报表");
            ModuleDic.Add(UserMng, "用户管理");
            ModuleList.Add(CaseLib);
            ModuleList.Add(ChemicalMng);
            ModuleList.Add(Report);
            ModuleList.Add(UserMng);
        }
        //案例库，化学品管理，报表，用户管理
        public const string CaseLib = "CaseLib";
        public const string ChemicalMng = "ChemicalMng";
        public const string Report = "Report";
        public const string UserMng = "UserMng";

        public static Dictionary<string, string> ModuleDic = new Dictionary<string, string>();
        public static List<string> ModuleList = new List<string>();
    }
}